package com.wex.cookbook.dto.to.userInfo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author : wex
 * @createTime : 2023/10/19 15:57
 */
@Data
@ApiModel(value = "用户信息")
public class UserInfoDto {
    @ApiModelProperty(value = "用户id")
    private Integer id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户电话号码")
    private String phone;

    @ApiModelProperty(value = "用户电子邮件")
    private String email;

    @ApiModelProperty(value = "用户真名")
    private String realName;

    @ApiModelProperty(value = "用户状态")
    private Integer status;

    @ApiModelProperty(value = "性别：0-女性；1-男性；-1：保密")
    private Integer sex;

    @ApiModelProperty(value = "头像地址")
    private String avatar;
}
